# -*- coding: utf-8 -*-
from . import mypath
from myplot import PlotArg
from .plot import plot
PlotArg.save_json('data.json',{
    'xlabel':'X data',
    'ylabel':'Y data',
    'xvalue':[1,2,3,4],
    'series':[{
        'name':'A',
        'y':[1.2,2.3,3.4,4],
        'yerr':[0.1,0.2,0.3,0.2]
    },{
        'name':'B',
        'y':[1.5,3,3.5,3],
        'yerr':[0.2,0.3,0.1,0.2]
    }],
})
PlotArg(plot,show=True)

